package com.ecoolex.union.pay.retailer.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.union.pay.retailer.entity.UnionPayCouponVerifyingConsumption;
import com.ecoolex.union.pay.retailer.entity.UnionPayCouponVerifyingConsumptionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface UnionPayCouponVerifyingConsumptionMapper {
    long countByExample(UnionPayCouponVerifyingConsumptionExample example);

    int deleteByExample(UnionPayCouponVerifyingConsumptionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UnionPayCouponVerifyingConsumption record);

    int insertSelective(@Param("record") UnionPayCouponVerifyingConsumption record, @Param("selective") UnionPayCouponVerifyingConsumption.Column ... selective);

    UnionPayCouponVerifyingConsumption selectOneByExample(UnionPayCouponVerifyingConsumptionExample example);

    List<UnionPayCouponVerifyingConsumption> selectByExample(UnionPayCouponVerifyingConsumptionExample example);

    UnionPayCouponVerifyingConsumption selectByPrimaryKey(Integer id);

    UnionPayCouponVerifyingConsumption selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") UnionPayCouponVerifyingConsumption record, @Param("example") UnionPayCouponVerifyingConsumptionExample example, @Param("selective") UnionPayCouponVerifyingConsumption.Column ... selective);

    int updateByExample(@Param("record") UnionPayCouponVerifyingConsumption record, @Param("example") UnionPayCouponVerifyingConsumptionExample example);

    int updateByPrimaryKeySelective(@Param("record") UnionPayCouponVerifyingConsumption record, @Param("selective") UnionPayCouponVerifyingConsumption.Column ... selective);

    int updateByPrimaryKey(UnionPayCouponVerifyingConsumption record);

    int batchInsert(@Param("list") List<UnionPayCouponVerifyingConsumption> list);

    int batchInsertSelective(@Param("list") List<UnionPayCouponVerifyingConsumption> list, @Param("selective") UnionPayCouponVerifyingConsumption.Column ... selective);

    int logicalDeleteByExample(@Param("example") UnionPayCouponVerifyingConsumptionExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}